package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 故障维修记录实体类
 *
 * @author BladeX
 * @since 2022-04-06
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_maintain_malfunction_log")
public class MaintainMalfunctionLog extends TenantEntity {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "计划id")
	private Long planId;

	@ApiModelProperty(value = "状态名称描述")
	private String typeName;

	@ApiModelProperty(value = "状态")
	private Integer planStatus;

	@ApiModelProperty(value = "执行人id(userId)")
	private Long executorId;

	@ApiModelProperty(value = "执行人")
	private String executor;

	@ApiModelProperty(value = "额外数据")
	private String ext;

	@ApiModelProperty(value = "分配任务值有值")
	private String userNames;
}
